package org.kzwl.entity.web;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 非遗文化保护
 * </p>
 *
 * @author 张国伟/郭家恒
 * @since 2020-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CuHeritage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cu_heritage_id", type = IdType.AUTO)
    private Integer cuHeritageId;

    /**
     * 标题
     */
    private String cuHeritageTitle;

    /**
     * 封面
     */
    private String cuHeritageImg;

    /**
     * 内容
     */
    private String cuHeritageContent;

    /**
     * 发布时间
     */
    private LocalDateTime cuHeritageDate;

    /**
     * 发布者
     */
    private String cuHeritagePublisher;


    private Integer cuHeritageCategoryId;

    /**
     * 0文章 1视频
     */
    private Integer cuHeritageType;

    /**
     * 设置首页大图推荐 0是1否
     */
    private Integer cuHeritageRecommendedIs;


    /**
     * 首页推荐大图
     */
    private String cuHeritageRecommendedUrl;

}
